package com.metaverse.backend.config;

import com.metaverse.backend.enums.MsgTypeEnum;

public abstract class RedisCacheKey {


    /**
     * 注册用户证码
     */
    public static final String CAPTCHA_SERVICE = "captchaService::";



    /**
     * 用户登录日志list
     */
    public static final String USER_LOGIN_LOG = "userLoginLog::";


    public static final String ROOM_DATA ="room_data::";//房间数据后端统计的


    public static final String ROOM_DATA_LIST ="room_data_list::";//房间数据给前端的


    public static final String ROOM_DATA_PROGRESS ="room_data_progress::";//房间数据进度


    public static final String ACCESS_TOKEN="access_token::";//


    public static final String ROUND_ID="round_id::";//房间局号


    public static final String RANKING ="ranking::";//排行榜数据

    public static final String WINSTREAK ="winStreak::";//连胜

    public static final String DIFEN ="difen::";//底分




    public static String getkey(String reidskey,String roomid, String round_id ){
        return reidskey+roomid+"::"+round_id+"::";
    }

    public static String getkey(String reidskey,String key ){
        return reidskey+key;
    }
}
